package com.offer;


public class Test58_2 {

    public String reverseLeftWords(String s, int n) {
        return s.substring(n, s.length()) + s.substring(0, n);
    }

    public static void main(String[] args) {
        Test58_2 test = new Test58_2();

        System.out.println(test.reverseLeftWords("abcdefg", 2));
    }

}
